/* eslint-disable @typescript-eslint/no-var-requires */
const webpackMerge = require('webpack-merge')
const commonConfiguration = require('./webpack.common.js')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')

module.exports = webpackMerge(
  commonConfiguration,
  {
    mode: 'production',
    plugins:
    [
      new CleanWebpackPlugin()
    ]
  }
)
